package novel.common.utils.qiniu;

import com.qiniu.util.Auth;

public class UploadFactory {

    public static UploadUtilImpl createUpload(String accessKey, String secretKeySpec, String bucketHostName, String bucketName) {
        Auth auth = Auth.create(accessKey, secretKeySpec);
        return new UploadUtilImpl(bucketHostName, bucketName, auth);
    }
}
